package com.tracesystem.service;

import com.tracesystem.commons.Result;
import com.tracesystem.controller.form.DailyReportForm;
import com.tracesystem.controller.form.MonthlyReportForm;
import com.tracesystem.controller.form.RecordForm;
import com.tracesystem.controller.info.DailyReportInfo;
import com.tracesystem.controller.info.MonthlyReportInfo;
import com.tracesystem.model.IssueWorkLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  工时业务接口
 * </p>
 *
 * @author Kevin Martin
 * @since 2022-03-23
 */
public interface IssueWorkLogService extends IService<IssueWorkLog> {
    /*
     * @Description:记录工时
     * @Author: JMOCOK
     * @param recordForm: 记录工时参数
     * @return: com.tracesystem.commons.Result
     **/
    Result addLogWork(RecordForm recordForm);

    Result<DailyReportInfo> getDailyReport(DailyReportForm dailyReportForm);

    Result<MonthlyReportInfo> getMonthlyReport(MonthlyReportForm monthlyReportForm);
}
